package com.taxshare.purchaser.service.rulesReview;

import com.taxshare.purchaser.constant.CodeConstant;
import lombok.Data;
import org.omg.IOP.Codec;
import org.springframework.stereotype.Component;

/**
 * 返回审核状态
 *
 * @author hjh
 */
@Data
public class CheckInfoRespVO {

    /**
     * 核验结果
     */
    private boolean flag = Boolean.TRUE;

    /**
     * 校验结果 1 未审核 2 审核成功 3 审核失败
     */
    private String reviewStatus = CodeConstant.NOT_RULES;

    /**
     * 是否继续往下走
     */
    private boolean going = Boolean.TRUE;

    /**
     * 规则里的失败消息
     */
    private String msg = "审核通过";

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public void setGoing(boolean going) {
        this.going = going;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isGoing() {
        return going;
    }

    /**
     * 强制不通过规则标志（0通过）
     */
    private String pass = CodeConstant.COMM_CODE_0;
}
